<body bgcolor="LightSteelBlue">
<h1  align="center"> The Joy of Forums....
<img src="http://www.graphicmania.net/wp-content/uploads/forum-icon.png" >
</h1>
<hr>
<h2> Category Name   <%= @category.categoryName %>
<%= @int = @category.id %>
</h2>
<h3>Edit Category</h3>
<% form_tag :action => :update, :id => @category do %>
<%= @category.id = @int %>
<% @int %>
<% @category.id %>
    Category Name:     <%=   text_field :category, :categoryName %>

   <%= submit_tag 'Update' , :controller => :categories, :action => :update, :id => @category  %>
   <% end %>
</body>